package com.lucher.tangstore.po;

import java.util.List;

public class Productinout extends BaseField{
	private static final long serialVersionUID = 1L;

	private Integer id;

    private String productcode;

    private String productname;

    private String batchno;

    private String type;

    private String inoutercode;

    private Double inoutamount;

    private Double depotamount;

    private String addtime;

    private String operatorcode;

    private String inoutstatus;

    private String depotrackcode;

    private String remark;

    private Productinout productinout;
	private List<Productinout> productinoutlist;


	//来源（1-购买；2-提货；3-退货）
    private Integer source;
    //规格
    private String model;
    //单价
    private Double price;
    //每件皮重
    private Double pertare;
    //每件均重
    private Double perweight;
    //每件净重量
    private Double pernetweight;
    //件数
    private Integer packages;
    //总重量
    private Double totalweight;
    //总净重量
    private Double totalnetweight;
    //总金额
    private Double totalamount;
    //已付款
    private Double paidamount;
    //未付款
    private Double unpaidamount;
    //供货商
    private Integer supplierid;
    
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProductcode() {
        return productcode;
    }

    public void setProductcode(String productcode) {
        this.productcode = productcode == null ? null : productcode.trim();
    }

    public String getProductname() {
        return productname;
    }

    public void setProductname(String productname) {
        this.productname = productname == null ? null : productname.trim();
    }

    public String getBatchno() {
        return batchno;
    }

    public void setBatchno(String batchno) {
        this.batchno = batchno == null ? null : batchno.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getInoutercode() {
        return inoutercode;
    }

    public void setInoutercode(String inoutercode) {
        this.inoutercode = inoutercode == null ? null : inoutercode.trim();
    }

    public Double getInoutamount() {
        return inoutamount;
    }

    public void setInoutamount(Double inoutamount) {
        this.inoutamount = inoutamount;
    }

    public String getAddtime() {
        return addtime;
    }

    public void setAddtime(String addtime) {
        this.addtime = addtime;
    }

    public String getOperatorcode() {
        return operatorcode;
    }

    public void setOperatorcode(String operatorcode) {
        this.operatorcode = operatorcode == null ? null : operatorcode.trim();
    }

    public String getInoutstatus() {
        return inoutstatus;
    }

    public void setInoutstatus(String inoutstatus) {
        this.inoutstatus = inoutstatus == null ? null : inoutstatus.trim();
    }

    public String getDepotrackcode() {
        return depotrackcode;
    }

    public void setDepotrackcode(String depotrackcode) {
        this.depotrackcode = depotrackcode == null ? null : depotrackcode.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

	public Productinout getProductinout() {
		return productinout;
	}

	public void setProductinout(Productinout productinout) {
		this.productinout = productinout;
	}

	public List<Productinout> getProductinoutlist() {
		return productinoutlist;
	}

	public void setProductinoutlist(List<Productinout> productinoutlist) {
		this.productinoutlist = productinoutlist;
	}

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getPertare() {
        return pertare;
    }

    public void setPertare(Double pertare) {
        this.pertare = pertare;
    }

    public Double getPerweight() {
        return perweight;
    }

    public void setPerweight(Double perweight) {
        this.perweight = perweight;
    }

    public Double getPernetweight() {
        return pernetweight;
    }

    public void setPernetweight(Double pernetweight) {
        this.pernetweight = pernetweight;
    }

    public Double getTotalweight() {
        return totalweight;
    }

    public void setTotalweight(Double totalweight) {
        this.totalweight = totalweight;
    }

    public Double getTotalamount() {
        return totalamount;
    }

    public void setTotalamount(Double totalamount) {
        this.totalamount = totalamount;
    }

    public Double getPaidamount() {
        return paidamount;
    }

    public void setPaidamount(Double paidamount) {
        this.paidamount = paidamount;
    }

    public Double getUnpaidamount() {
        return unpaidamount;
    }

    public void setUnpaidamount(Double unpaidamount) {
        this.unpaidamount = unpaidamount;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public Double getTotalnetweight() {
        return totalnetweight;
    }

    public void setTotalnetweight(Double totalnetweight) {
        this.totalnetweight = totalnetweight;
    }

    public Integer getSupplierid() {
        return supplierid;
    }

    public void setSupplierid(Integer supplierid) {
        this.supplierid = supplierid;
    }

    public Integer getPackages() {
        return packages;
    }

    public void setPackages(Integer packages) {
        this.packages = packages;
    }

    public Double getDepotamount() {
        return depotamount;
    }

    public void setDepotamount(Double depotamount) {
        this.depotamount = depotamount;
    }
}
